Skip to main content

Maximise Window

AutomatR.Windows.Activities.Actvities.MaximiseWindow

The "Maximise Window" activity in AutomatR is part of the UI Automation for Windows activities package, allowing you to maximize the specified window. This activity is particularly useful for optimizing the visibility and accessibility of windows in your automation processes.

Properties

NameDescription
Input
Process NameEnter the process name of the window app that needs to be maximized. String variables containing the process name.
Display TitleEnter the title of the window app that needs to be maximized. String variables containing the window title.
Process TitleEnter the process title of the window app that needs to be maximized. String variables containing the process title.
Current WindowWhen enabled, indicates the current active window for the activity. Boolean variables specifying the activation state. Default is true.
WindowEnter the variable for the window app that needs to be maximized. SelectorWindow variables containing information about the window.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelayEnter the wait time in seconds (e.g., 5 seconds) before starting the activity. Integer variables containing the delay duration.

How to use:

  1. Drag and drop the "Maximise Window" activity onto the workflow.
  2. Configure the properties by specifying the process name, display title, process title, or selector window of the window you want to maximize.
  3. Optionally, configure the delay and indicate whether to use the current active window.
  4. Execute the workflow to maximize the specified window.

Example: Consider an example where the "Maximise Window" activity is used to maximize the Notepad application window:

Maximise Window:
Process Name: "notepad"
Display Title: "Untitled - Notepad"
Delay: 2

In this example, the activity maximizes the Notepad application window with the specified process name and display title after a delay of 2 seconds. Adjust the properties based on your specific automation requirements.